<?php

// this add by martin to check database

/* TODO: Add code here */

//require_once 'common.inc.php';

$dbhost = 'localhost';					// database server
$dbname = 'jansenfurnituredb';			// database name
$dbuser = 'root';				// database username
$dbpw = '123';// database password

echo "Hellow word";
$key='aboutus';

//$sql = "SELECT name FROM `systemtb` WHERE name='$key'";
//$query = $db->query($sql);
//while($rs = $db->fetch_array($query)) {
//  echo $rs['name'].'<br/>';
//}

/*$sql = "SELECT COUNT(id) as i FROM `systemtb` WHERE name='$key'";

$r= $db->get_one($sql);

echo $r['i'];*/

//
//$sql = "SELECT * FROM `systemtb` where name=`about`";
//$r= $db->get_one($sql);
//echo $r[0];


?>